<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Admin SCI SO</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link href="{{URL::to('/css/style.css')}}" rel="stylesheet" />
    <link href="{{URL::to('/css/bootstrap.css')}}" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" media="screen" href="{{URL::to('/css/bootstrap-datetimepicker.css')}}" />

    <script type="text/javascript" src="{{URL::to('/js/jquery-2.1.1.min.js')}}"></script>

    <!-- Add custom CSS here -->
    <link href="{{URL::to('css/sb-admin.css')}}" rel="stylesheet" />
    <link href="{{URL::to('css/login.css')}}" rel="stylesheet" />
    <link rel="stylesheet" href="{{URL::to('font-awesome/css/font-awesome.min.css')}}" />
    <script type="text/javascript">
        function check_all(input_name, start) {
            master = document.getElementById(input_name);
         
            i = start;
            input_element = input_name + "_"+ i;
            input_obj = document.getElementById(input_element);
            while(input_obj != null)
            {
                input_obj = document.getElementById(input_element);
                input_obj.checked = master.checked;
         
                i = i + 1;
                input_element = input_name + "_"+ i;
                input_obj = document.getElementById(input_element);
            }
        }
         
        function check_parent(parent_id, child_id) {
            if(child_id.checked) {
                parent_id.checked = true;
            }
        }

     </script>
  </head>

  <body style="background: url({{URL::to('/images/bg.png')}}) repeat;">
<div class="container" >

   


        @if(Session::has('message'))
          <div class="alert alert-success" align="center">  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          {{Session::get('message')}}
          </div>
        @endif
        
        @if(Session::has('error'))
          <div class="alert alert-danger" align="center">  <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
          {{Session::get('error')}}
          </div>
        @endif

      @yield('content')



</div>
    

    <!-- JavaScript -->
    <script src="{{URL::to('/js/jquery-2.1.1.min.js')}}"></script>
    <script src="{{URL::to('/js/bootstrap-datetimepicker.js')}}"></script>
    <script src="{{URL::to('/js/bootstrap.min.js')}}"></script>
    <script type="text/javascript" src="{{URL::to('/js/moment.js')}}"></script>
    <script type="text/javascript" src="{{URL::to('/js/bootstrap-datetimepicker.js')}}"></script>
    <script src="{{URL::to('/js/highcharts.js')}}"></script>
    <script src="{{URL::to('/js/exporting.js')}}"></script>
   

  </body>
</html>
